package com.tencreat.domain.account.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 供应商入驻申请入参
 * @author zixin
 */
@Data
public class AccountOpenSupplierSettleInDTO {

    @ApiModelProperty(value = "供应商名称", required = true)
    @NotBlank
    private String username;

    @ApiModelProperty(value = "供应商手机号码",required = true)
    @NotBlank
    private String mobile;

    @ApiModelProperty(value = "详细地址",required = true)
    @NotBlank
    private String address;

    @ApiModelProperty(value = "身份证正面",required = true)
    @NotBlank
    private String frontOfIdCard;

    @ApiModelProperty(value = "身份证背面",required = true)
    @NotBlank
    private String backOfIdCard;

    @ApiModelProperty(value= "行政区域表的省ID",required = true)
    @NotNull
    private Long province;

    @ApiModelProperty(value= "行政区域表的市ID",required = true)
    @NotNull
    private Long city;

    @ApiModelProperty(value= "行政区域表的区县ID",required = true)
    @NotNull
    private Long county;

/*    @ApiModelProperty(value= "营业执照",required = true)
    @NotNull
    private String businessLicense;*/
}
